package cn.aitrox.ry.service.anno.api;

import cn.aitrox.ry.bean.RespResult;
import cn.aitrox.ry.service.anno.dto.anno.component.result.in.AcrCreateInDto;
import cn.aitrox.ry.service.anno.dto.anno.component.result.in.AcrUpdateInDto;
import cn.aitrox.ry.service.anno.dto.anno.component.result.out.AcrCreateOutDto;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface ComponentResultApi {

    @PostMapping(value = "/anno/component/result")
    RespResult<AcrCreateOutDto> create(@RequestBody AcrCreateInDto input);


    @PutMapping(value = "/anno/component/result")
    RespResult update(@RequestBody AcrUpdateInDto input);
}
